


document.addEventListener('mousewheel', function (e) {
    e = e || window.event
    if ((e.wheelDelta && event.ctrlKey) || e.detail) {
        console.warn("静止缩放页面")
        event.preventDefault()
    }
}, {
    capture: false,
    passive: false
})
document.addEventListener('keydown', function (event) {
    if ((event.ctrlKey === true || event.metaKey === true) &&
        (event.keyCode === 61 || event.keyCode === 107 ||
            event.keyCode === 173 || event.keyCode === 109 ||
            event.keyCode === 187 || event.keyCode === 189
        )) {
        event.preventDefault()
    }
}, false)

document.addEventListener('click', function () {
    let menu = document.getElementById('menu')
    menu.innerText = '菜单'
})
